package com.impress.model;

import android.app.Activity;
import android.content.Context;
import android.content.SharedPreferences;

/**
 * 定义程序有关的设置:账户信息，存储大小，etc
 * @author pluto
 * @version 1.0.1
 */
public abstract class Preference {

		
	public Preference(Context context, String fileName){
		settings = context.getSharedPreferences(fileName, Activity.MODE_PRIVATE);
	}
	
	public Preference(Context context){
		this(context, "Account");
	}

	protected SharedPreferences settings;
	public abstract Boolean Save(); 
	
}
